package com.design.pattern.creator.singleton;

import java.io.Serializable;

public class SeriableSingleton implements Serializable {
    private final static SeriableSingleton INSTANCE = new SeriableSingleton();
    private SeriableSingleton(){}
    public static SeriableSingleton getInstance() {
        return INSTANCE;
    }
    public Object readResolve(){
        return INSTANCE;
    }
}
